package com.example.orderflow.entity.po;

import com.fasterxml.jackson.annotation.JsonIgnore;
import java.io.Serializable;


/**
 * 
 */
public class ApproveHistory implements Serializable {


	/**
	 * 自增，唯一主键
	 */
	private Integer id;

	/**
	 * 订单编号
	 */
	private String orderId;

	/**
	 * 审批节点编号
	 */
	private String levelId;

	/**
	 * 审批用户名
	 */
	private String approveBy;

	/**
	 * 当前节点更新时间
	 */
	private String approveTime;

	/**
	 * 审批结果：0，未审批；1，通过；2，驳回；3，已通过但同级退回
	 */
	private String approveStatus;

	/**
	 * 审批意见
	 */
	private String comment;

	/**
	 * 创建时间
	 */
	private String creationDate;

	/**
	 * 对象状态：0，没用；1，有用
	 */
	private String objectState;


	public void setId(Integer id){
		this.id = id;
	}

	public Integer getId(){
		return this.id;
	}

	public void setOrderId(String orderId){
		this.orderId = orderId;
	}

	public String getOrderId(){
		return this.orderId;
	}

	public void setLevelId(String levelId){
		this.levelId = levelId;
	}

	public String getLevelId(){
		return this.levelId;
	}

	public void setApproveBy(String approveBy){
		this.approveBy = approveBy;
	}

	public String getApproveBy(){
		return this.approveBy;
	}

	public void setApproveTime(String approveTime){
		this.approveTime = approveTime;
	}

	public String getApproveTime(){
		return this.approveTime;
	}

	public void setApproveStatus(String approveStatus){
		this.approveStatus = approveStatus;
	}

	public String getApproveStatus(){
		return this.approveStatus;
	}

	public void setComment(String comment){
		this.comment = comment;
	}

	public String getComment(){
		return this.comment;
	}

	public void setCreationDate(String creationDate){
		this.creationDate = creationDate;
	}

	public String getCreationDate(){
		return this.creationDate;
	}

	public void setObjectState(String objectState){
		this.objectState = objectState;
	}

	public String getObjectState(){
		return this.objectState;
	}

	@Override
	public String toString (){
		return "自增，唯一主键:"+(id == null ? "空" : id)+"，订单编号:"+(orderId == null ? "空" : orderId)+"，审批节点编号:"+(levelId == null ? "空" : levelId)+"，审批用户名:"+(approveBy == null ? "空" : approveBy)+"，当前节点更新时间:"+(approveTime == null ? "空" : approveTime)+"，审批结果：0，未审批；1，通过；2，驳回；3，已通过但同级退回:"+(approveStatus == null ? "空" : approveStatus)+"，审批意见:"+(comment == null ? "空" : comment)+"，创建时间:"+(creationDate == null ? "空" : creationDate)+"，对象状态：0，没用；1，有用:"+(objectState == null ? "空" : objectState);
	}
}
